package cn.com.generaldata.os.ws.intf;

import java.util.List;

import javax.jws.WebMethod;
import javax.jws.WebService;

import cn.com.generaldata.os.newpojo.ReportType;

@WebService
public interface ReportTypeWSInterface {

	@WebMethod
	List<ReportType> getReportTypeList(String versionId);

	@WebMethod
	void addReportType(ReportType newType);

	@WebMethod
	void updateReportType(ReportType targetType);

	@WebMethod
	void deleteReportType(ReportType targetType);

	@WebMethod
	boolean isTypeCodeExist(String versionId, String typeCode);

	@WebMethod
	boolean isItemKeyExist(String versionId, String itemKey);

	@WebMethod
	List<ReportType> getReportTypeListByVerAndInd(String versionId, String industryId);

	@WebMethod
	void saveIndLinkedReportType(String versionId, String industryId, String typeIdJoinStr);

	@WebMethod
	String uploadReportTypeFile(String versionId, String fileName, byte[] fileData, boolean autoCreateItemFlag);

	@WebMethod
	void importReportType(String versionId, String typeIdJoinStr);
}
